/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package trackmsg;
import base.*;

/**
 *
 * @author MR.BLACK
 */
public class ExpandRemoteTrack extends TrackCtrlMsg{
    private TrackNode currentTrackAddr;
    private String wave;
    private WaveEnvironment waveEnv;
    private String host;
    public ExpandRemoteTrack(TrackNode currentTrack, String waveTail,
            WaveEnvironment env, String host) {
        this.currentTrackAddr = currentTrack;
        this.wave = waveTail;
        this.host = host;
        this.waveEnv = env;
    }

    public TrackNode getCurrentTrack() {
        return currentTrackAddr;
    }

    public String getHost() {
        return host;
    }

    public String getWave() {
        return wave;
    }

    public WaveEnvironment getWaveEnv() {
        return waveEnv;
    }
    
    @Override
    public Type getType() {
        return Type.EXPANDREMOTE;
    }
    @Override
    public String toString() {
        return "MESSAGE: " + getType() + " " + this.currentTrackAddr +
                " " + getWave() + " " + getWaveEnv() + " " + getHost();
    }
}
